<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use app\controller\admin;
use app\middleware\Auth;
use think\facade\Route;
use think\Route as Routes;

Route::any('/', function () {
    // 重定向到 /web/index.html#/
    return redirect('/company/index.html');
});
Route::group('api', function (Routes $route) {
    $route->any('search', app\controller\admin\AdminController::class . '@search')->name("测试");
    $route->any('check', app\controller\admin\AdminController::class . '@check')->name("测试");
    $route->any('getList', app\controller\admin\AdminController::class . '@getList')->name("测试");
    $route->any('addLog', app\controller\admin\AdminController::class . '@addLog')->name("测试");
    $route->any('showLog', app\controller\admin\AdminController::class . '@showLog')->name("测试");
    $route->any('cancelTask', app\controller\admin\AdminController::class . '@cancelTask')->name("测试");
//    $route->any('download', app\controller\admin\AdminController::class . '@download')->name("测试");

});
